\hypertarget{led__external_8c}{}\section{led\+\_\+external.\+c File Reference}
\label{led__external_8c}\index{led\+\_\+external.\+c@{led\+\_\+external.\+c}}
{\ttfamily \#include \char`\"{}led\+\_\+external.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}ch.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}hal.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}ws2811.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}mcpwm.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}utils.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}hw.\+h\char`\"{}}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{led__external_8c_a786143bd09f4c4ad214288233309964f}{H\+A\+S\+\_\+\+F\+A\+U\+L\+T}()~(\hyperlink{mcpwm_8h_a543e86f6faec79974352738009a9da40}{mcpwm\+\_\+get\+\_\+fault}() != \hyperlink{datatypes_8h_a29724157fc2c874a0bafeb059b571d14a5179ac0d019011be741f3b7f2855929c}{F\+A\+U\+L\+T\+\_\+\+C\+O\+D\+E\+\_\+\+N\+O\+N\+E})
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{led__external_8c_ad45e9dd74f67836a255f059775ca6aef}{led\+\_\+external\+\_\+init} (void)
\item 
void \hyperlink{led__external_8c_a3e4e3e3e23ca5e718c77fe2bf6ad3c1b}{led\+\_\+external\+\_\+set\+\_\+state} (\hyperlink{datatypes_8h_a78ad3e15a811eaff80192a9e08a77505}{L\+E\+D\+\_\+\+E\+X\+T\+\_\+\+S\+T\+A\+T\+E} new\+\_\+state)
\item 
void \hyperlink{led__external_8c_aed4bd6e4199a9886c5e27f4335063896}{led\+\_\+external\+\_\+set\+\_\+reversed} (bool newstate)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{led__external_8c_a786143bd09f4c4ad214288233309964f}{}\index{led\+\_\+external.\+c@{led\+\_\+external.\+c}!H\+A\+S\+\_\+\+F\+A\+U\+L\+T@{H\+A\+S\+\_\+\+F\+A\+U\+L\+T}}
\index{H\+A\+S\+\_\+\+F\+A\+U\+L\+T@{H\+A\+S\+\_\+\+F\+A\+U\+L\+T}!led\+\_\+external.\+c@{led\+\_\+external.\+c}}
\subsubsection[{H\+A\+S\+\_\+\+F\+A\+U\+L\+T}]{\setlength{\rightskip}{0pt plus 5cm}\#define H\+A\+S\+\_\+\+F\+A\+U\+L\+T(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~({\bf mcpwm\+\_\+get\+\_\+fault}() != {\bf F\+A\+U\+L\+T\+\_\+\+C\+O\+D\+E\+\_\+\+N\+O\+N\+E})}\label{led__external_8c_a786143bd09f4c4ad214288233309964f}


\subsection{Function Documentation}
\hypertarget{led__external_8c_ad45e9dd74f67836a255f059775ca6aef}{}\index{led\+\_\+external.\+c@{led\+\_\+external.\+c}!led\+\_\+external\+\_\+init@{led\+\_\+external\+\_\+init}}
\index{led\+\_\+external\+\_\+init@{led\+\_\+external\+\_\+init}!led\+\_\+external.\+c@{led\+\_\+external.\+c}}
\subsubsection[{led\+\_\+external\+\_\+init(void)}]{\setlength{\rightskip}{0pt plus 5cm}void led\+\_\+external\+\_\+init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{led__external_8c_ad45e9dd74f67836a255f059775ca6aef}
\hypertarget{led__external_8c_aed4bd6e4199a9886c5e27f4335063896}{}\index{led\+\_\+external.\+c@{led\+\_\+external.\+c}!led\+\_\+external\+\_\+set\+\_\+reversed@{led\+\_\+external\+\_\+set\+\_\+reversed}}
\index{led\+\_\+external\+\_\+set\+\_\+reversed@{led\+\_\+external\+\_\+set\+\_\+reversed}!led\+\_\+external.\+c@{led\+\_\+external.\+c}}
\subsubsection[{led\+\_\+external\+\_\+set\+\_\+reversed(bool newstate)}]{\setlength{\rightskip}{0pt plus 5cm}void led\+\_\+external\+\_\+set\+\_\+reversed (
\begin{DoxyParamCaption}
\item[{bool}]{newstate}
\end{DoxyParamCaption}
)}\label{led__external_8c_aed4bd6e4199a9886c5e27f4335063896}
\hypertarget{led__external_8c_a3e4e3e3e23ca5e718c77fe2bf6ad3c1b}{}\index{led\+\_\+external.\+c@{led\+\_\+external.\+c}!led\+\_\+external\+\_\+set\+\_\+state@{led\+\_\+external\+\_\+set\+\_\+state}}
\index{led\+\_\+external\+\_\+set\+\_\+state@{led\+\_\+external\+\_\+set\+\_\+state}!led\+\_\+external.\+c@{led\+\_\+external.\+c}}
\subsubsection[{led\+\_\+external\+\_\+set\+\_\+state(\+L\+E\+D\+\_\+\+E\+X\+T\+\_\+\+S\+T\+A\+T\+E new\+\_\+state)}]{\setlength{\rightskip}{0pt plus 5cm}void led\+\_\+external\+\_\+set\+\_\+state (
\begin{DoxyParamCaption}
\item[{{\bf L\+E\+D\+\_\+\+E\+X\+T\+\_\+\+S\+T\+A\+T\+E}}]{new\+\_\+state}
\end{DoxyParamCaption}
)}\label{led__external_8c_a3e4e3e3e23ca5e718c77fe2bf6ad3c1b}
